package com.suny.DataDic.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Schema(name = "DataDicUpdateStatusDTO",description = "修改数据字典状态传输对象")
@Data
public class DataDicUpdateStatusDTO {
    /**
     * 字典id
     */
    @NotNull(message = "字典编号不能为空")
    @Schema(name = "id")
    private Integer id;
    /**
     * 字典状态(1:启用,0:停用)
     */
    @NotNull(message = "状态不能为空")
    @Schema(name = "status",description = "字典状态(1:启用,0:停用)")
    private Integer status;
}
